package com.sjn.cluster_4.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: sjn
 * @Data: 2021/6/18 11:39
 */
@RestController
@RequestMapping("test")
public class TestController {

    @RequestMapping("")
    public Object test() {
        return "cluster-4";
    }

    @RequestMapping("heath")
    public Object heath() {
        return "OK";
    }
}
